package com.yao.spider.zhihu;

import com.yao.spider.proxy.entity.Proxy;

/**
 * Created by 单耀 on 2017/12/6.
 */
public class Page {
    private String url;
    private int statusCode;
    private String html;//response content
    private Proxy proxy;

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public int getStatusCode() {
        return statusCode;
    }

    public void setStatusCode(int statusCode) {
        this.statusCode = statusCode;
    }

    public Proxy getProxy() {
        return proxy;
    }

    public void setProxy(Proxy proxy) {
        this.proxy = proxy;
    }

    public String getHtml() {
        return html;
    }

    public void setHtml(String html) {
        this.html = html;
    }

    @Override
    public String toString() {
        return "Page{" +
                "url='" + url + '\'' +
                ", statusCode=" + statusCode +
                ", html='" + html + '\'' +
                ", proxy=" + proxy +
                '}';
    }
}
